
let express = require('express');
let router =  express.Router();
let contract = require("../../app/controller/prod/contract");


/**
 * 合同管理
 * **/

router.post("/contract/listpage",contract.contract.list);
router.post("/contract/add",contract.contract.add);
router.post("/contract/retrieval",contract.contract.retrieval);
router.post("/contract/remove",contract.contract.remove);
router.post("/contract/edit",contract.contract.edit);
router.post("/contract/single",contract.contract.single);
router.post("/contract/export",contract.contract.export);


/**
 * 待审核列表
 * **/

router.post("/pending/listpage",contract.pending.list);
router.post("/pending/agree",contract.pending.agree);
router.post("/pending/refuse",contract.pending.refuse);




module.exports = router;